Release 10.1A: OpenEdge Development:
Progress 4GL Reference


END-DOCUMENT( ) method

Closes the XML document represented by a SAX-writer object.

Return type: LOGICAL

Applies to: SAX-writer object handle

Syntax
END-DOCUMENT( ) 

Closes the XML stream. This is the logical conclusion of creating the XML document.

If you call this method before the START-DOCUMENT method, the method fails. WRITE-STATUS must not be SAX-WRITE-IDLE or SAX-WRITE-COMPLETE when you call this method. END-DOCUMENT changes WRITE-STATUS to SAX-WRITE-COMPLETE.

If the STRICT attribute is TRUE and the final tag has not been closed (that is, the root node), then this method fails.

See also

START-DOCUMENT( ) method


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095